list1 = input().split()
list2 = []
for i in list1:
    if i not in list2:
        list2.append(i)

result = ''
for m in list2:
    result += m + ' '

print('The distinct numbers are:' + result)